<?php
include_once("../../php/include_all.php");
$id = $_GET['id'];
if ($id=='1'){
	echo " 
	 <option value='01' readOnly>Super User</option>" ;
}
if ($id=='2'){
	echo " 
	 <option value='02' readOnly>Administrator Bappeda</option>" ;
}
else if($id == '3'){
	$bidang = get_datas("select * from mus_bidang_bappeda ");
	echo"
	<option>-pilih bidang-</option>";
	foreach ($bidang as $bidang){
		$idbidang =$bidang['id_bdgbapeda'];
		$namabidang = $bidang['nama_bdgbapeda'];
		echo "<option value='$idbidang'>$namabidang</option>";
		
	}
}else if($id=='4'){
	$skpd = get_datas("select * from mus_skpd");
	echo"
	<option>-pilih skpd-</option>";
	foreach ($skpd as $skpd){
		$idskpd =$skpd['id_skpd'];
		$namaskpd = $skpd['nama_skpd'];
		echo "<option value='$idskpd'>$namaskpd</option>";
	}
} else if($id=='5'){
	$kec = get_datas("select * from mus_kecamatan");
	echo "<option>-pilih kecamatan-</option>";
	foreach ($kec as $kec){
		$idkec = $kec['id_kecamatan'];
		$namakec = $kec['nama_kecamatan'];
		echo "<option value='$idkec'>$namakec</option>";
	}
}


?>